package com.mc.code.service;

import com.mc.code.entity.CodeUsers;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface LoginService {
//    登录
    List<CodeUsers> login(String username);

//    查询数据库中最大用户编号
    int maxUserNo();

//    添加用户信息
    void registerUser(CodeUsers codeUsers);

    //处理技术占比
    int skillNet();

    int skillJava();

    int skillPhp();

    int skillAsp();

    int skillC();

    int skillBigdata();

    //类型统计
    int countWeb();


    int countApp();

    int countWx();

    int countRoutine();

    int countHtml();

    int countOther();

    String registerUserName(String username);
}
